package com.gzy.rpsm_property.service;

import com.gzy.rpsm_property.mapper.FloorMapper;
import com.gzy.rpsm_property.pojo.Floor;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class FloorServiceImpl implements FloorService{
    @Resource
    FloorMapper floorMapper;
    @Override
    public List<Floor> floorsOfBuilding(Integer buildingId) {
        return floorMapper.floorsOfBuilding(buildingId);
    }
}
